package com.hospital.common.dto.search.module;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ReplyInsertDto {
    /**
     * 元数据id
     */
    @NotNull(message = "元数据id不能为空")
    private Long metaId;
    /**
     * 内容id
     */
    @NotNull(message = "内容id不能为空")
    private Long contentId;
    /**
     * 纯文本内容
     */
    @NotEmpty(message = "回复内容不能为空")
    private String text;
}
